package com.zenith.article.po.domain;

import com.zenith.common.base.BaseEntity;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import io.swagger.v3.oas.annotations.media.Schema;

@Data
@AllArgsConstructor
@NoArgsConstructor
@EqualsAndHashCode(callSuper = true)
@Schema(name = "文章审批记录实体", description = "文章审批记录实体")
public class ArtApproval extends BaseEntity {
    
    @Schema(description = "文章ID")
    private Long articleId;
    
    @Schema(description = "版本号")
    private Integer version;
    
    @Schema(description = "提交人ID")
    private Long submitterId;
    
    @Schema(description = "审核人ID")
    private Long auditorId;
    
    @Schema(description = "审批状态：0-待审批 1-通过 2-驳回")
    private Integer status;
    
    @Schema(description = "审核意见")
    private String comment;
}